package com.glsc.ngateway.common.api.platform.dto.gitee.issueBase;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.glsc.ngateway.common.api.platform.dto.gitee.GiteeMemberDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author zhengyr
 * @date 2024/1/26-16:46
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude
@ApiModel(value="gitee附件")
public class IssueFileDto implements Serializable {

    @ApiModelProperty(value = "附件id")
    private Integer id;

    @ApiModelProperty(value = "能否删除")
    private Boolean can_delete;

    @ApiModelProperty(value = "文件名")
    private String name;

    @ApiModelProperty(value = "预览url")
    private String preview_url;

    @ApiModelProperty(value = "附件大小")
    private Integer size;

    @ApiModelProperty(value = "创建人")
    private GiteeMemberDto creator;

}
